include('shared.lua')
include('cl_scoreboard.lua')

GM.huddata = {}

function GM:Initialize( )
	self:SetupTeams()
	self.BaseClass:Initialize()
end

function GM:GetTeamNumColor( num )
	return team.GetColor( num )
end

function GM:Think()
	self.huddata.gmFlagRed = (GetGlobalBool("RedTaken") and 1 or 0)
	self.huddata.gmFlagBlue = (GetGlobalBool("BlueTaken") and 1 or 0)
	self.huddata.gmBlueScore = GetGlobalInt("BlueScore")
	self.huddata.gmRedScore = GetGlobalInt("RedScore")
	self.huddata.gmHasFlag = (LocalPlayer():GetNetworkedBool("HasFlag") and 1 or 0)
end

function noSpawn()
	return false
end

hook.Add("SpawnMenuOpen","noSpawn",noSpawn)


